package com.liuzihao.gateway.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @Author: Liuzihao
 * @Description: CouponFegin
 * @Date Created in 2023-02-20 20:32
 * @Modified By:
 */
@FeignClient("Mall-coupon")
public interface CouponFeign {

    @RequestMapping("/coupon/coupon/getTestInfo")
    Map getTestInfo(@RequestParam("id") int id);
}
